﻿define(["service/service", "service/httpService"], function (service) {
    service.factory("itpService", function (httpService) {
        var methods = {
            gets: function (params) {
                return httpService.get("/admin/itp/gets", params);
            },
            get: function(params) {
                return httpService.get("/admin/itp/get", params);
            },
            code_file: function (params) {
                return httpService.post("/admin/itp/code_file", params);
            },
            deal: function (params) {
                return httpService.post("/admin/itp/deal", params);
            }
        }
        return methods;
    });
});